<?php

namespace addons\shopro\controller\v1\store;

use addons\shopro\controller\Base;
use think\Db;
/**
 * 商品修改申请
 */
class Setting extends Base
{
    protected $noNeedLogin = ['config'];
    protected $noNeedRight = '*';

    public function _initialize()
    {
        parent::_initialize();

    }
    public function config(){

        $shop_config = Db::name('shopro_config')->where(['name'=>'order','group'=>'basic'])->value('value');
        $shop_config = json_decode($shop_config,true);

        $this->success('获取成功',$shop_config['store']);
    }







}
